<?php
class PanelFilterRequest1 extends PageElement
{

	protected $filters = array();

	public function addFilter($aFilter)
	{
		if($aFilter<>'')
			array_push($this->filters,$aFilter);
	}

	public function getHTML()
	{
		$html = "";

		foreach ($this->filters as $aFilter)
		{
			$html .= $aFilter->getHTML();
		}
		
		$refresh = new Button();
		$refresh = new Button();
		$refresh->setName("Refresh");
		$refresh->setValue("Refresh");
		$refresh->setOnclick("updateRecord('','');");
		
		$html .= $refresh->getHTML();

		return $html;
	}
}
